<?php

namespace App\Providers;

use App\Exceptions\BasicException;
use Illuminate\Support\ServiceProvider;
use Illuminate\Http\Request;
use Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider;    //引用http请求类

class AppServiceProvider extends ServiceProvider {

    //boot
    public function boot() {

    }

    public function register() {
        if ($this->app->environment() !== 'production' && class_exists(IdeHelperServiceProvider::class)) {
            $this->app->register(IdeHelperServiceProvider::class);
        }
    }
}
